package com.cssp.lof.service.impl;

import java.util.List;

import com.cssp.lof.dao.FoundInfoDao;
import com.cssp.lof.model.FoundInfo;
import com.cssp.lof.service.LOFService;

public class FoundInfoService implements LOFService<FoundInfo>
	{
		private FoundInfoDao foundInfoDao;

		public void addLOFInfo(FoundInfo foundInfo)
			{
				foundInfoDao.addFoundInfo(foundInfo);
			}

		public void deleteLOFInfo(String id)
			{
				foundInfoDao.deleteFoundInfo(id);
			}

		public List<FoundInfo> getAllLOFInfo()
			{
				return foundInfoDao.getAllFoundInfo();
			}

		public FoundInfo getLOFInfoById(String id)
			{
				return foundInfoDao.getFoundInfoById(id);
			}

		public void updateLOFInfo(FoundInfo foundInfo)
			{
				foundInfoDao.updateFoundInfo(foundInfo);
			}

		public FoundInfoDao getFoundInfoDao()
			{
				return foundInfoDao;
			}

		public void setFoundInfoDao(FoundInfoDao foundInfoDao)
			{
				this.foundInfoDao = foundInfoDao;
			}

	}
